//
//  TTDetailImageViewCell.m
//  TaoTuo
//
//  Created by admin on 2019/8/27.
//  Copyright © 2019 admin. All rights reserved.
//

#import "TTDetailImageViewCell.h"
#import <UIImageView+WebCache.h>
#import "TTDetailImageModel.h"

@interface TTDetailImageViewCell ()

@end

@implementation TTDetailImageViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        self.backgroundColor = [UIColor whiteColor];
        
        _pictureView = [[UIImageView alloc] init];
//        _pictureView.contentMode = UIViewContentModeScaleAspectFit;
        [self.contentView addSubview:_pictureView];
        
    }
    return self;
}



- (void)layoutSubviews
{
    [super layoutSubviews];
    
    self.pictureView.frame = CGRectMake(3, 0, self.width - 6, self.height);
}



@end
